Component org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig
In bundle org.nuxeo.ecm.webengine.core
Requirements
- org.nuxeo.ecm.platform.ui.web.auth.defaultConfig
- org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService
Resolution Order
894
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig--sessionManager
- org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig--startURL
- org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig--authenticators
- org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig--chain
XML Source
<?xml version='1.0' encoding='UTF-8'?>
<component name="org.nuxeo.ecm.platform.ui.web.auth.WebEngineConfig">
<!-- replace auth chain -->
<require>org.nuxeo.ecm.platform.ui.web.auth.defaultConfig</require>
<require>org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService</require>
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="sessionManager">
<sessionManager name="WebEngine" enabled="true" class="org.nuxeo.ecm.webengine.login.WebEngineSessionManager">
</sessionManager>
</extension>
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="startURL">
<startURLPattern>
<patterns>
<pattern>site/</pattern>
</patterns>
</startURLPattern>
</extension>
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="authenticators">
<authenticationPlugin name="WEBENGINE_FORM_AUTH" enabled="true" class="org.nuxeo.ecm.webengine.login.WebEngineFormAuthenticator">
<needStartingURLSaving>true</needStartingURLSaving>
<parameters>
<parameter name="UsernameKey">username</parameter>
<parameter name="PasswordKey">********</parameter>
</parameters>
<stateful>false</stateful>
</authenticationPlugin>
</extension>
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="chain">
<authenticationChain>
<plugins>
<plugin>BASIC_AUTH</plugin>
<plugin>TOKEN_AUTH</plugin>
<plugin>OAUTH2_AUTH</plugin>
<plugin>JWT_AUTH</plugin>
<plugin>FORM_AUTH</plugin>
<plugin>WEBENGINE_FORM_AUTH</plugin>
<plugin>ANONYMOUS_AUTH</plugin>
</plugins>
</authenticationChain>
</extension>
</component>